/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.merchant.entity.SupplierApply
   Module Description   :

   Date Created      : 2009/11/19
   Original Author   : andy.chuang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.supplierapply.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

import com.yaodian100.core.common.entity.BaseEntity;

/**
 * @author andy.chuang
 * 
 */
@Entity
@Table(name = "EC_SUPPLIER_APPLY")
public class SupplierApply extends BaseEntity {

	/**
     * 
     */
	public static final Integer APPROVE_APPLY = 0;
	public static final Integer APPROVE_APPROVED = 1;
	public static final Integer ACTIVE = 1;
	public static final Integer DELETE = 0;
	private static final long serialVersionUID = -7599038624150700774L;
	private String supplierID;

	/**
	 * @return the supplierID
	 */
	@Id
	@GeneratedValue(generator = "seq_ec_supplier_apply")
	@SequenceGenerator(name = "seq_ec_supplier_apply", sequenceName = "SEQ_EC_SUPPLIER_APPLY")
	@GenericGenerator(name = "seq_ec_supplier_apply", strategy = "com.yaodian100.core.common.dao.hibernate.SeqStringGenerator", parameters = {
			@Parameter(name = "sequence", value = "SEQ_EC_SUPPLIER_APPLY"), @Parameter(name = "pattern", value = "000000") })
	@Column(name = "SUPPLIER_ID", length = 6)
	public String getSupplierID() {
		return supplierID;
	}

	/**
	 * @param supplierID the supplierID to set
	 */
	public void setSupplierID(String supplierID) {
		this.supplierID = supplierID;
	}

	/** 統一編號 **/
	@Column(name = "COMPANY_NUM", length = 200)
	private String companyNum;
	/** 公司名稱 **/
	@Column(name = "COMPANY_NAME", length = 200)
	private String companyName;
	/** 負責人 **/
	@Column(name = "OWNER_NAME", length = 200)
	private String ownerName;
	/** 負責人身分證字號 **/
	@Column(name = "OWNER_ID", length = 200)
	private String ownerID;
	/** 公司電話 **/
	@Column(name = "COMPANY_PHONE", length = 200)
	private String companyPhone;
	/** 公司傳真 **/
	@Column(name = "COMPANY_FAX", length = 200)
	private String companyFax;
	/** 公司住址 **/
	@Column(name = "COMPANY_ADDRESS", length = 200)
	private String companyAddress;
	/** 發票抬頭 **/
	@Column(name = "INVOICE_TITLE", length = 200)
	private String invoiceTitle;
	/** 發票地址 **/
	@Column(name = "INVOICE_ADDRESS", length = 200)
	private String invoiceAddress;
	/** 聯絡人 **/
	@Column(name = "CONTACT_NAME", length = 200)
	private String contactName;
	/** 聯絡人住址 **/
	@Column(name = "CONTACT_ADDRESS", length = 200)
	private String contactAddress;
	/** 聯絡人電話 **/
	@Column(name = "CONTACT_PHONE", length = 200)
	private String contactPhone;
	/** 聯絡人傳真 **/
	@Column(name = "CONTACT_FAX", length = 200)
	private String contactFax;
	/** 聯絡人EMAIL **/
	@Column(name = "CONTACT_EMAIL", length = 200)
	private String contactEmail;
	/** 維修窗口 **/
	@Column(name = "SERVICE_NAME", length = 200)
	private String serviceName;
	/** 維修窗口地址 **/
	@Column(name = "SERVICE_ADDRESS", length = 200)
	private String serviceAddress;
	/** 維修窗口電話 **/
	@Column(name = "SERVICE_PHONE", length = 200)
	private String servicePhone;
	/** 維修窗口傳真 **/
	@Column(name = "SERVICE_FAX", length = 200)
	private String serviceFax;
	/** 維修窗口EMAIL **/
	@Column(name = "SERVICE_EMAIL", length = 200)
	private String serviceEmail;
	/**
	 * 维修时间
	 */
	@Column(name = "SERVICE_HOURS", length = 200)
	private String serviceHours;
	/**
	 * 维修说明
	 */
	@Column(name = "SERVICE_MEMO", length = 500)
	private String serviceMemo;
	/** 產業別 **/
	@Column(name = "INDUSTRY", length = 200)
	private String industry;
	/** 集團代號 **/
	@Column(name = "GROUP_ID", length = 200)
	private String groupID;
	/** 集團 **/
	@Column(name = "GROUP_NAME", length = 200)
	private String groupName;
	/** 付款規則 **/
	@Column(name = "PAYMENT_TERM", length = 200)
	private String paymentTerm;
	/** 使用貨幣 **/
	@Column(name = "PAYMENT_CURRENCY", length = 200)
	private String paymentCurrency;
	/** 代理商 **/
	@Column(name = "AGENT", length = 200)
	private String agent;
	/** 區域：1-大陸地區(不含港澳台);2-香港;3-澳門;4-台灣 **/
	@Column(name = "AREA", length = 200)
	private String area;
	/** 貿易條款 **/
	@Column(name = "INCOTERM", length = 200)
	private String incoterm;
	/**  **/
	@Column(name = "PRICING_DATA_CATRGORY", length = 200)
	private String pricingDataCatrgory;
	/** 銀行 **/
	@Column(name = "BANKNAME", length = 200)
	private String bankName;
	/** 銀行帳戶名稱 **/
	@Column(name = "BANKACCOUNT_NAME", length = 200)
	private String bankAccountName;
	/** 銀行帳戶 **/
	@Column(name = "BANKACCOUNT_NUM", length = 200)
	private String bankAccountNum;
	/** 審核狀態 **/
	@Column(name = "APPROVE_STATUS")
	private Integer approveStatus;
	/** 審核by **/
	@Column(name = "APPROVE_BY", length = 200)
	private String approveBy;
	/** 廠商狀態 **/
	@Column(name = "APPLY_STATUS")
	private Integer status;
	/** MEMO **/
	@Column(name = "APPLY_MEMO", length = 200)
	private String memo;
	@Column(name = "TAX_INVOICE", length = 2)
	private String taxInvoice;
	@Column(name = "INVOICE_PERCENT")
	private Integer invoicePercent;
	/** 發貨地址 - 省 **/
	@Column(name = "SHIP_PROVINCE", length = 20)
	private String shipProvince;
	/** 發貨地址 - 市 **/
	@Column(name = "SHIP_CITY", length = 20)
	private String shipCity;
	/** 發貨地址 - 區縣 **/
	@Column(name = "SHIP_AREA", length = 20)
	private String shipArea;
	/** 發貨地址 **/
	@Column(name = "SHIP_ADDR", length = 100)
	private String shipAddr;
	/** 發貨地址 - 郵編 **/
	@Column(name = "SHIP_ZIP", length = 10)
	private String shipZip;
	/** 發貨聯絡人 **/
	@Column(name = "SHIP_CONTACT", length = 20)
	private String shipContact;
	/** 發貨聯絡電話 **/
	@Column(name = "SHIP_PHONE", length = 50)
	private String shipPhone;
	/** 是否为转单供应商 **/
	@Column(name = "ISSCM", length = 1)
	private String isScm = "N";

	/** 公司地址 - 省 **/
	@Column(name = "COMPANY_PROVINCE", length = 20)
	private String companyProvince;

	/** 公司地址 - 市 **/
	@Column(name = "COMPANY_CITY", length = 20)
	private String companyCity;

	/** 公司地址 - 區縣 **/
	@Column(name = "COMPANY_AREA", length = 20)
	private String companyArea;

	/** 公司郵編 **/
	@Column(name = "COMPANY_ZIP", length = 10)
	private String companyZip;

	/** 採購類別：O：買斷;V：寄售 ;OV:买断、寄售 **/
	@Column(name = "BO_PO_TYPE", length = 5)
	private String boPoType;

	/** BO到倉天數 **/
	@Column(name = "BO_TO_WH_DATE")
	private Integer boToWHDate;

	/**
	 * 开发PM
	 */
	@Column(name = "DEV_PM_ID", length = 30)
	private String devPmId;

	/** 付款銀行所在地 :1-大陸地區(不含港澳台);2-香港;3-澳門;4-台灣 **/
	@Column(name = "PAYMENT_BANK_AREA", length = 20)
	private String paymentBankArea;

	/** 是否自行配送 **/
	@Column(name = "IS_SELF_SHIP", length = 1)
	private String isSelfShip = "N";
	/** 是否直退／换；Y=退回供应商／N=退回耀点仓库 **/
	@Column(name = "IS_RETURN_SUPPLIER", length = 1)
	private String isReturnSupplier = "N";
	/** 退（换）货联络窗口 **/
	@Column(name = "RETURN_CONTACT", length = 20)
	private String returnContact;
	/** 退（换）貨地址 - 省 **/
	@Column(name = "RETURN_PROVINCE", length = 20)
	private String returnProvince;
	/** 退（换）貨地址 - 市 **/
	@Column(name = "RETURN_CITY", length = 20)
	private String returnCity;
	/** 退（换）貨地址 - 區縣 **/
	@Column(name = "RETURN_AREA", length = 20)
	private String returnArea;
	/** 退（换）貨地址 **/
	@Column(name = "RETURN_ADDR", length = 100)
	private String returnAddr;
	/** 退（换）貨地址 - 郵編 **/
	@Column(name = "RETURN_ZIP", length = 10)
	private String returnZip;
	/** 退（换）货联络窗口电话 **/
	@Column(name = "RETURN_PHONE", length = 50)
	private String returnPhone;

	/**
	 * @return the taxInvoice
	 */
	public String getTaxInvoice() {
		return taxInvoice;
	}

	/**
	 * @param taxInvoice the taxInvoice to set
	 */
	public void setTaxInvoice(String taxInvoice) {
		this.taxInvoice = taxInvoice;
	}

	/**
	 * @return the invoicePercent
	 */
	public Integer getInvoicePercent() {
		return invoicePercent;
	}

	/**
	 * @param invoicePercent the invoicePercent to set
	 */
	public void setInvoicePercent(Integer invoicePercent) {
		this.invoicePercent = invoicePercent;
	}

	/**
	 * @return the serviceHours
	 */
	public String getServiceHours() {
		return serviceHours;
	}

	/**
	 * @param serviceHours the serviceHours to set
	 */
	public void setServiceHours(String serviceHours) {
		this.serviceHours = serviceHours;
	}

	/**
	 * @return the serviceMemo
	 */
	public String getServiceMemo() {
		return serviceMemo;
	}

	/**
	 * @param serviceMemo the serviceMemo to set
	 */
	public void setServiceMemo(String serviceMemo) {
		this.serviceMemo = serviceMemo;
	}

	/**
	 * @return the companyNum
	 */
	public String getCompanyNum() {
		return companyNum;
	}

	/**
	 * @param companyNum the companyNum to set
	 */
	public void setCompanyNum(String companyNum) {
		this.companyNum = companyNum;
	}

	/**
	 * @return the companyName
	 */
	public String getCompanyName() {
		return companyName;
	}

	/**
	 * @param companyName the companyName to set
	 */
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 * @return the ownerName
	 */
	public String getOwnerName() {
		return ownerName;
	}

	/**
	 * @param ownerName the ownerName to set
	 */
	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	/**
	 * @return the ownerID
	 */
	public String getOwnerID() {
		return ownerID;
	}

	/**
	 * @param ownerID the ownerID to set
	 */
	public void setOwnerID(String ownerID) {
		this.ownerID = ownerID;
	}

	/**
	 * @return the companyPhone
	 */
	public String getCompanyPhone() {
		return companyPhone;
	}

	/**
	 * @param companyPhone the companyPhone to set
	 */
	public void setCompanyPhone(String companyPhone) {
		this.companyPhone = companyPhone;
	}

	/**
	 * @return the companyFax
	 */
	public String getCompanyFax() {
		return companyFax;
	}

	/**
	 * @param companyFax the companyFax to set
	 */
	public void setCompanyFax(String companyFax) {
		this.companyFax = companyFax;
	}

	/**
	 * @return the companyAddress
	 */
	public String getCompanyAddress() {
		return companyAddress;
	}

	/**
	 * @param companyAddress the companyAddress to set
	 */
	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress;
	}

	/**
	 * @return the invoiceTitle
	 */
	public String getInvoiceTitle() {
		return invoiceTitle;
	}

	/**
	 * @param invoiceTitle the invoiceTitle to set
	 */
	public void setInvoiceTitle(String invoiceTitle) {
		this.invoiceTitle = invoiceTitle;
	}

	/**
	 * @return the invoiceAddress
	 */
	public String getInvoiceAddress() {
		return invoiceAddress;
	}

	/**
	 * @param invoiceAddress the invoiceAddress to set
	 */
	public void setInvoiceAddress(String invoiceAddress) {
		this.invoiceAddress = invoiceAddress;
	}

	/**
	 * @return the contactName
	 */
	public String getContactName() {
		return contactName;
	}

	/**
	 * @param contactName the contactName to set
	 */
	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	/**
	 * @return the contactAddress
	 */
	public String getContactAddress() {
		return contactAddress;
	}

	/**
	 * @param contactAddress the contactAddress to set
	 */
	public void setContactAddress(String contactAddress) {
		this.contactAddress = contactAddress;
	}

	/**
	 * @return the contactPhone
	 */
	public String getContactPhone() {
		return contactPhone;
	}

	/**
	 * @param contactPhone the contactPhone to set
	 */
	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	/**
	 * @return the contactFax
	 */
	public String getContactFax() {
		return contactFax;
	}

	/**
	 * @param contactFax the contactFax to set
	 */
	public void setContactFax(String contactFax) {
		this.contactFax = contactFax;
	}

	/**
	 * @return the contactEmail
	 */
	public String getContactEmail() {
		return contactEmail;
	}

	/**
	 * @param contactEmail the contactEmail to set
	 */
	public void setContactEmail(String contactEmail) {
		this.contactEmail = contactEmail;
	}

	/**
	 * @return the serviceName
	 */
	public String getServiceName() {
		return serviceName;
	}

	/**
	 * @param serviceName the serviceName to set
	 */
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	/**
	 * @return the serviceAddress
	 */
	public String getServiceAddress() {
		return serviceAddress;
	}

	/**
	 * @param serviceAddress the serviceAddress to set
	 */
	public void setServiceAddress(String serviceAddress) {
		this.serviceAddress = serviceAddress;
	}

	/**
	 * @return the servicePhone
	 */
	public String getServicePhone() {
		return servicePhone;
	}

	/**
	 * @param servicePhone the servicePhone to set
	 */
	public void setServicePhone(String servicePhone) {
		this.servicePhone = servicePhone;
	}

	/**
	 * @return the serviceFax
	 */
	public String getServiceFax() {
		return serviceFax;
	}

	/**
	 * @param serviceFax the serviceFax to set
	 */
	public void setServiceFax(String serviceFax) {
		this.serviceFax = serviceFax;
	}

	/**
	 * @return the serviceEmail
	 */
	public String getServiceEmail() {
		return serviceEmail;
	}

	/**
	 * @param serviceEmail the serviceEmail to set
	 */
	public void setServiceEmail(String serviceEmail) {
		this.serviceEmail = serviceEmail;
	}

	/**
	 * @return the industry
	 */
	public String getIndustry() {
		return industry;
	}

	/**
	 * @param industry the industry to set
	 */
	public void setIndustry(String industry) {
		this.industry = industry;
	}

	/**
	 * @return the groupID
	 */
	public String getGroupID() {
		return groupID;
	}

	/**
	 * @param groupID the groupID to set
	 */
	public void setGroupID(String groupID) {
		this.groupID = groupID;
	}

	/**
	 * @return the groupName
	 */
	public String getGroupName() {
		return groupName;
	}

	/**
	 * @param groupName the groupName to set
	 */
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	/**
	 * @return the paymentTerm
	 */
	public String getPaymentTerm() {
		return paymentTerm;
	}

	/**
	 * @param paymentTerm the paymentTerm to set
	 */
	public void setPaymentTerm(String paymentTerm) {
		this.paymentTerm = paymentTerm;
	}

	/**
	 * @return the paymentCurrency
	 */
	public String getPaymentCurrency() {
		return paymentCurrency;
	}

	/**
	 * @param paymentCurrency the paymentCurrency to set
	 */
	public void setPaymentCurrency(String paymentCurrency) {
		this.paymentCurrency = paymentCurrency;
	}

	/**
	 * @return the agent
	 */
	public String getAgent() {
		return agent;
	}

	/**
	 * @param agent the agent to set
	 */
	public void setAgent(String agent) {
		this.agent = agent;
	}

	/**
	 * @return the area
	 */
	public String getArea() {
		return area;
	}

	/**
	 * @param area the area to set
	 */
	public void setArea(String area) {
		this.area = area;
	}

	/**
	 * @return the incoterm
	 */
	public String getIncoterm() {
		return incoterm;
	}

	/**
	 * @param incoterm the incoterm to set
	 */
	public void setIncoterm(String incoterm) {
		this.incoterm = incoterm;
	}

	/**
	 * @return the pricingDataCatrgory
	 */
	public String getPricingDataCatrgory() {
		return pricingDataCatrgory;
	}

	/**
	 * @param pricingDataCatrgory the pricingDataCatrgory to set
	 */
	public void setPricingDataCatrgory(String pricingDataCatrgory) {
		this.pricingDataCatrgory = pricingDataCatrgory;
	}

	/**
	 * @return the bankName
	 */
	public String getBankName() {
		return bankName;
	}

	/**
	 * @param bankName the bankName to set
	 */
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	/**
	 * @return the bankAccountName
	 */
	public String getBankAccountName() {
		return bankAccountName;
	}

	/**
	 * @param bankAccountName the bankAccountName to set
	 */
	public void setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
	}

	/**
	 * @return the bankAccountNum
	 */
	public String getBankAccountNum() {
		return bankAccountNum;
	}

	/**
	 * @param bankAccountNum the bankAccountNum to set
	 */
	public void setBankAccountNum(String bankAccountNum) {
		this.bankAccountNum = bankAccountNum;
	}

	/**
	 * @return the approveStatus
	 */
	public Integer getApproveStatus() {
		return approveStatus;
	}

	/**
	 * @param approveStatus the approveStatus to set
	 */
	public void setApproveStatus(Integer approveStatus) {
		this.approveStatus = approveStatus;
	}

	/**
	 * @return the approveBy
	 */
	public String getApproveBy() {
		return approveBy;
	}

	/**
	 * @param approveBy the approveBy to set
	 */
	public void setApproveBy(String approveBy) {
		this.approveBy = approveBy;
	}

	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * @return the memo
	 */
	public String getMemo() {
		return memo;
	}

	/**
	 * @param memo the memo to set
	 */
	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getShipProvince() {
		return shipProvince;
	}

	public void setShipProvince(String shipProvince) {
		this.shipProvince = shipProvince;
	}

	public String getShipCity() {
		return shipCity;
	}

	public void setShipCity(String shipCity) {
		this.shipCity = shipCity;
	}

	public String getShipArea() {
		return shipArea;
	}

	public void setShipArea(String shipArea) {
		this.shipArea = shipArea;
	}

	public String getShipAddr() {
		return shipAddr;
	}

	public void setShipAddr(String shipAddr) {
		this.shipAddr = shipAddr;
	}

	public String getShipZip() {
		return shipZip;
	}

	public void setShipZip(String shipZip) {
		this.shipZip = shipZip;
	}

	public String getShipContact() {
		return shipContact;
	}

	public void setShipContact(String shipContact) {
		this.shipContact = shipContact;
	}

	public String getShipPhone() {
		return shipPhone;
	}

	public void setShipPhone(String shipPhone) {
		this.shipPhone = shipPhone;
	}

	public String getIsScm() {
		return isScm;
	}

	public void setIsScm(String isScm) {
		this.isScm = isScm;
	}

	public String getCompanyProvince() {
		return companyProvince;
	}

	public void setCompanyProvince(String companyProvince) {
		this.companyProvince = companyProvince;
	}

	public String getCompanyCity() {
		return companyCity;
	}

	public void setCompanyCity(String companyCity) {
		this.companyCity = companyCity;
	}

	public String getCompanyArea() {
		return companyArea;
	}

	public void setCompanyArea(String companyArea) {
		this.companyArea = companyArea;
	}

	public String getCompanyZip() {
		return companyZip;
	}

	public void setCompanyZip(String companyZip) {
		this.companyZip = companyZip;
	}

	public Integer getBoToWHDate() {
		return boToWHDate;
	}

	public void setBoToWHDate(Integer boToWHDate) {
		this.boToWHDate = boToWHDate;
	}

	public String getBoPoType() {
		return boPoType;
	}

	public void setBoPoType(String boPoType) {
		this.boPoType = boPoType;
	}

	public String getDevPmId() {
		return devPmId;
	}

	public void setDevPmId(String devPmId) {
		this.devPmId = devPmId;
	}

	public String getPaymentBankArea() {
		return paymentBankArea;
	}

	public void setPaymentBankArea(String paymentBankArea) {
		this.paymentBankArea = paymentBankArea;
	}

	public String getReturnContact() {
		return returnContact;
	}

	public void setReturnContact(String returnContact) {
		this.returnContact = returnContact;
	}

	public String getReturnProvince() {
		return returnProvince;
	}

	public void setReturnProvince(String returnProvince) {
		this.returnProvince = returnProvince;
	}

	public String getReturnCity() {
		return returnCity;
	}

	public void setReturnCity(String returnCity) {
		this.returnCity = returnCity;
	}

	public String getReturnArea() {
		return returnArea;
	}

	public void setReturnArea(String returnArea) {
		this.returnArea = returnArea;
	}

	public String getReturnAddr() {
		return returnAddr;
	}

	public void setReturnAddr(String returnAddr) {
		this.returnAddr = returnAddr;
	}

	public String getReturnZip() {
		return returnZip;
	}

	public void setReturnZip(String returnZip) {
		this.returnZip = returnZip;
	}

	public String getReturnPhone() {
		return returnPhone;
	}

	public void setReturnPhone(String returnPhone) {
		this.returnPhone = returnPhone;
	}

	public String getIsSelfShip() {
		return isSelfShip;
	}

	public void setIsSelfShip(String isSelfShip) {
		this.isSelfShip = isSelfShip;
	}

	public String getIsReturnSupplier() {
		return isReturnSupplier;
	}

	public void setIsReturnSupplier(String isReturnSupplier) {
		this.isReturnSupplier = isReturnSupplier;
	}

}